package com.woniu.bank.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：lgy
 * @description：TODO
 * @date ：2023/1/4 10:56
 */
@Data
@ApiModel(description = "返回的业务申请页面的业务")
public class FarmerLoanSheetVO {
    @ApiModelProperty(value = "详情ID")
    private Integer loanDetailsId;
    @ApiModelProperty(value = "业务流水号")
    private String loanDetailsNum;
    @ApiModelProperty(value = "客户号")
    private String clientNumber;
    @ApiModelProperty(value = "客户名称")
    private String clientName;
    @ApiModelProperty(value = "证件类型")
    private String clinetDocumentsType;
    @ApiModelProperty(value = "证件号码")
    private String clinetDocumentsNumber;
    @ApiModelProperty(value = "手机号码")
    private String clientTel;
    @ApiModelProperty(value = "用信金额")
    private String loanBy1;
    @ApiModelProperty(value = "居住地址")
    private String clientLiveAdd;
    @ApiModelProperty(value = "乡镇（街道办）")
    private String clientTownship;
    @ApiModelProperty(value = "村（社区）")
    private String clientVillage;
    @ApiModelProperty(value = "组")
    private String clientGroup;
    @ApiModelProperty(value = "授信台账编号")
    private String ratedOn;
    @ApiModelProperty(value = "授信额度")
    private Double ratedCreditLimit;
    @ApiModelProperty(value = "信用等级")
    private String ratedCredit;
    @ApiModelProperty(value = "授信期限")
    private String ratedTerm;
    @ApiModelProperty(value = "授信批复日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date ratedRequestTime;
    @ApiModelProperty(value = "授信生效日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date ratedEffectiveTime;
    @ApiModelProperty(value = "授信到期日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date ratedExpireTime;
    @ApiModelProperty(value = "是否签订合同")
    private String loanDetailsContractYn;
    @ApiModelProperty(value = "最高额信用合同号")
    private String loanDetailsContractNum;
    @ApiModelProperty(value = "管户客户经理")
    private String loanDetailsManager;
    @ApiModelProperty(value = "管户网点")
    private String loanDetailsNetwork;
    @ApiModelProperty(value = "审批状态（申请状态）")
    private String approvalStatus;
    @ApiModelProperty(value = "贷款申请时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date loanDetailsDate;
    @ApiModelProperty(value = "贷款开始时间")
    private Date loanDetailsStartDate;
    @ApiModelProperty(value = "贷款结束时间")
    private Date loanDetailsEndDate;
    @ApiModelProperty(value = "审批状态id")
    private Integer approvalStatusId;
    @ApiModelProperty(value = "已经贷款的数额")
    private Double ydje;
}
